Constraint algebra of open string field theory in midpoint coordinates