refactored capacity and set restraints on docking bikes